from restful_api.admin.serializer import *
from utils.unite.generic import *

"""
    @TODO web 接口
"""


class RetrieveDestroyUpdateGoodsView(DestroyAPIView,
                                     PatchAPIView):
    """
        【商品】编辑
    """
    serializer_class = UpdateGoodsSerializer
    queryset = Goods.objects.filter(is_active=True)
